var express = require('express');
var router = express.Router();
//var User=require("../model/UserModel.js");
//var mongoose = require("mongoose");
//var crypto=require("crypto-js");

/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', { title: '临澧县廖妹子湘北食品加工厂',noProduct:'false' });
});
router.get('/about', function(req, res, next) {
  res.render('about', { title: '临澧县廖妹子湘北食品加工厂',noProduct:'true' });
});
router.get('/dongtai', function(req, res, next) {
  res.render('dongtai', { title: '临澧县廖妹子湘北食品加工厂',noProduct:'true' });
});
router.get('/product', function(req, res, next) {
  res.render('product', { title: '临澧县廖妹子湘北食品加工厂',noProduct:'true' });
});
router.get('/anli', function(req, res, next) {
  res.render('anli', { title: '临澧县廖妹子湘北食品加工厂',noProduct:'true' });
});
router.get('/shouhou', function(req, res, next) {
  res.render('shouhou', { title: '临澧县廖妹子湘北食品加工厂' ,noProduct:'true'});
});
router.get('/zhaoshang', function(req, res, next) {
  res.render('zhaoshang', { title: '临澧县廖妹子湘北食品加工厂',noProduct:'true' });
});
router.get('/contact', function(req, res, next) {
  res.render('contact', { title: '临澧县廖妹子湘北食品加工厂' ,noProduct:'true'});
});
router.get('/gbook', function(req, res, next) {
  res.render('gbook', { title: '临澧县廖妹子湘北食品加工厂',noProduct:'true' });
});
module.exports = router;
